package com.topone;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan("com.topone")
@MapperScan({"com.topone.dataObject.Mapper","com.topone.permission.dao"})
@EnableScheduling
@EnableJpaAuditing
public class FanzoneApplication {

	public static void main(String[] args) {
		SpringApplication.run(FanzoneApplication.class, args);
	}
}
